home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-15 / vt11.zip / VT11.DOC < prev   
Text File  |  1992-01-29  |  8KB  |  159 lines

  1. Program:        Video Test 
  2. Version:        1.10
  3. Date:           January 29, 1992
  4. Author:         George Spafford
  5.  
  6. Purpose:
  7.  
  8. To demonstrate the performance of different video adapters on a given
  9. machine.  This program assumes that all variables other than the video
  10. subsystem will remain constant across tests.
  11.  
  12. Procedure:
  13.  
  14. NOTE, ALL ROUTINES ARE DESIGNED FOR COLOR MONITORS.  I haven't added the
  15. necessary BIOS checking to ID monochrome systems.  I hope that this does
  16. not inconvenience anyone.
  17.  
  18. Invoke VT on the command line with one (or a mix) of the following switches:
  19.  
  20.         /N:nnnnnn    This is the number of displays.  The program will count
  21.                      from 1 to this value by increments of 1.  If this
  22.                      switch is not specified, the default is 20,000 samples.
  23.  
  24.         /P:ppppp     This is the number of times that the test should be
  25.                      repeated.  If this switch is not specified, then one
  26.                      pass is assumed.  Note, a value > 1 will enable the
  27.                      program to generate a summary of test averages upon
  28.                      completion of the tests.
  29.  
  30.         /C           Character Per Second Test.  Note, this switch will
  31.                      only work with the /N: switch and ONLY IF /N: is
  32.                      specified before /C:  For Example:  VT /N:40000 /C
  33.                      If you do not use the default, definitely use a number
  34.                      greater than 20,000 with the /N: switch.  (30,000 is
  35.                      the default).
  36.  
  37.         /W           This will pause the program after each test.  If this
  38.                      switch is omitted, then the screens will not pause.
  39.             
  40.         /X           This switch disables all screen manipulations during
  41.                      each test.  Only a result message will be displayed and
  42.                      this will be independent of the test.  This serves to
  43.                      generate a baseline by which adapters can be compared
  44.                      against.  If this switch is not specified, then screen
  45.                      writes are enabled.
  46.  
  47.         /1           CGA Graphics Test.  This switch will only work with the
  48.                      /N: switch and ONLY IF the /N: switch is specified before
  49.                      the /1.  For Example:  VT /N:100 /1
  50.                      For the graphics tests, the size switch specifies the
  51.                      number of lines to draw.  50 is the default and for CGA,
  52.                      the maximum is 200.
  53.                      (Fills the screen with the color white)
  54.  
  55.         /2           EGA Graphics Test.  As with /1, /N: is the only other
  56.                      switch that will work with it & /N: must be first.
  57.                      For this mode, 350 is the maximum number of lines that
  58.                      can be specified with the /N: switch.
  59.                      (Fills the screen with the color yellow)
  60.  
  61.         /3           VGA Graphics Test.  The /N: switch must be declared as
  62.                      mentioned above if you do not want the default 50 lines
  63.                      drawn.  In this test, 480 lines is the maximum that can
  64.                      be specified with the /N: switch.
  65.                      (Fills the screen with the color red)
  66.  
  67.         /?           This displays the help screen.
  68.  
  69. Testing Process:
  70.  
  71. VT sends all screen writes through BIOS and measures the number of clock ticks
  72. that it takes for the system to complete the process.  Tests are performed
  73. using screen location statements and print statements.  Color attributes are
  74. not changed during the test.  All tests use the same color attribute of 15 which
  75. is High - intensity white during all tests.  The program will determine from the
  76. BIOS whether a color monitor is attached or not.
  77.  
  78. Examples:
  79.  
  80. VT /X                   This will write 10000 samples in
  81.                         one pass with no screen writes.
  82.  
  83. VT /N:30000 /P:5        This will write 30000 samples for
  84.                         5 passes with screen writes.
  85.  
  86. VT /P:10 /W             This will write 20000 samples for
  87.                         10 passes and will pause after each pass.
  88.  
  89. VT /N:200 /3            Performs the VGA test using 200 lines.  Note that
  90.                         the /N: switch is first & then the /1.
  91.  
  92. The difference between the tests that have the screen writes enabled, and the
  93. tests that use the /X switch to disable the writes are amazing.  On a CGA
  94. system with a 286 processor, the difference was a 42% savings.  On a SVGA
  95. equipped 33 Mhz 386, the savings reached 60%.  Video subsystems are quite a
  96. bottleneck - that is sure.  This program will helpfully allow a user to
  97. evaluate several different cards, or perhaps the difference caused by shadowing
  98. video ROM into RAM, or the difference that faster memory on a video card makes.
  99.  
  100.  
  101. The Tests Themselves:
  102.  
  103. Counter Test:           This test counts from 1 to the number specified.
  104.                         It locates at a screen coordinate and then it
  105.                         displays the value.  If the /X switch is used,
  106.                         then no screen functions will be used.
  107.  
  108. Locate Test:            This test counts from 1 to the number specified.
  109.                         For each number, a random X and a random Y coordinate
  110.                         are generated and then the number is located at that
  111.                         position.  If the /X switch is used, then no screen
  112.                         functions will be used.
  113.  
  114. Five Column Test:       This test counts from 1 to the number specified.
  115.                         For each number, the number is displayed in five
  116.                         separate columns.  Each new number replaces the
  117.                         previous number displayed in all columns.  If the /X
  118.                         switch is used, then no screen function will be used.
  119.  
  120. Note:  All messages concerning the test and the duration of the test are
  121.        excluded from the measurement process.  All screen cleaning prior
  122.        to a test is also excluded from the measurement process.
  123.  
  124. History:
  125.  
  126.      v1.10  01/29/92  Added the graphics and CPS tests.
  127.  
  128.      v1.00  11/14/91  Initial Release Date.
  129.  
  130. Legal Blah:
  131.  
  132. I hope this program helps you evaluate some of your problems
  133. or even makes some solutions/benefits clear.  This program is
  134. released as shareware.  Its price is $5 for each concurrently
  135. used copy.  If you have any suggestions or comments, I'd REALLY
  136. like to hear those too.
  137.  
  138.                 Sincerely,
  139.  
  140.                 George Spafford
  141.                 3001 LakeShore Drive, #329
  142.                 St. Joseph, MI 49085
  143.  
  144.         Data:  (616) 468-5026  Queued Access BBS 14.4Kb USR Dual HST
  145.                                FIDOnet: 1:2340/0:  Over 600 MB online.
  146.                                Sysop:   Tim Akright
  147.  
  148.  
  149.         Code CopyRight:  November 1991
  150.         
  151.         VT IS DISTRIBUTED AS IS.  THE AUTHOR (GEORGE SPAFFORD) MAKES NO
  152.         WARRANTY OF ANY KIND, EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED
  153.         TO WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE,
  154.         WITH RESPECT TO THIS SOFTWARE AND DOCUMENTATION. IN NO EVENT SHALL
  155.         THE AUTHOR BE LIABLE FOR ANY DAMAGES, INCLUDING LOST PROFITS, LOST
  156.         SAVINGS, OR ANY OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
  157.         OUT OF THE USE OF OR THE INABILITY TO USE THIS PROGRAM.
  158.         ----------------------------------------------------------------
  159.